package com.vincent.template.dto.sys.user;

import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @author Vincent Wang
 * @date 2021/3/25 14:40
 */
public class UserCancelDto {

    @ApiModelProperty(value = "用户ID", required = true)
    @NotBlank
    @Length(max = 40)
    private String id;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank
    @Length(max = 16)
    private String password;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
